<%-- 
    Document   : userInfo
    Created on : Sep 4, 2012, 15:23:04 PM
    Author     : HungDQ
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>e-Administration Of Computer Labs</title>
        <link href="../stylesheets/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <!--Navigation Background Part Starts -->
        <div id="navigation-bg">
            <%@include file="../home/navigation.jsp" %>
        </div>
        <!--Our Company Left Part Starts -->
        <div id="ourCompany-leftPart2" align="center">
            <f:view>
                <a href="report.jsp">Report List</a>&nbsp;|&nbsp;
                <a href="myWork.jsp">My Work</a>
                <h2>User Information</h2>
                <h:form id="signLab">
                    <h:panelGrid columns="2" border="1">
                        <h:outputText value="User ID:"/>
                        <h:outputText id="id" value="#{userBean.user.id}"/>
                        <h:outputText value="Create Date:"/>
                        <h:outputText id="createDate" value="#{userBean.user.createDate}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="Name:"/>
                        <h:outputText id="name" value="#{userBean.user.name}"/> 
                        <h:outputText value="Sex:"/>
                        <h:selectOneRadio value="#{userBean.user.sex}">
                            <f:selectItem itemLabel="Male" itemValue="true"/>
                            <f:selectItem itemLabel="Female" itemValue="false"/>
                        </h:selectOneRadio>
                        <h:outputText value="BirthDay:"/>
                        <h:outputText id="dob" value="#{userBean.user.dob}"/> 
                        <h:outputText value="Phone:"/>
                        <h:outputText id="phone" value="#{userBean.user.phone}"/> 
                        <h:outputText value="Address: "/>
                        <h:inputTextarea readonly="true" id="address" value="#{userBean.user.address}"/> 
                        <h:outputText value="Email:"/>
                        <h:outputText id="email" value="#{userBean.user.email}"/> 
                    </h:panelGrid>
                </h:form>   
            </f:view>
        </div>

        <!--Our Company Right Part Starts -->
        <div id="ourCompany-rightPart">


        </div>
        <!--Our Company Right Part Ends -->
        <!--Our Company Left Part Ends -->

        <br class="spacer" />
        <!--Footer-->
        <%@include file="../home/footer.jsp" %>
    </body>
</html>
